Zernike polynomials

In mathematics, the Zernike polynomials are a sequence of polynomials that are orthogonal on the unit disk. Named after Frits Zernike, they play an important role in beam optics.

Contents

Definitions

There are even and odd Zernike polynomials. The even ones are defined as

Z^{m}_n(\rho,\varphi) = R^m_n(\rho)\,\cos(m\,\varphi) \!

and the odd ones as

Z^{-m}_n(\rho,\varphi) = R^m_n(\rho)\,\sin(m\,\varphi), \!

where m and n are nonnegative integers with nm, φ is the azimuthal angle, and ρ is the radial distance 0\le\rho\le 1. The radial polynomials Rmn are defined as

R^m_n(\rho) = \! \sum_{k=0}^{(n-m)/2} \!\!\! \frac{(-1)^k\,(n-k)!}{k!\,((n%2Bm)/2-k)!\,((n-m)/2-k)!} \;\rho^{n-2\,k}

for nm even, and are identically 0 for nm odd.

Other Representations

Rewriting the ratios of factorials in the radial part as products of binomials shows that the coefficients are integer numbers:

R_n^m(\rho)=\sum_{k=0}^{(n-m)/2}(-1)^k \binom{n-k}{k} \binom{n-2k}{(n-m)/2-k} \rho^{n-2k}.

A notation as terminating Gaussian Hypergeometric Functions is useful to reveal recurrences, to demonstrate that they are special cases of Jacobi polynomials, to write down the differential equations, etc.:

R_n^m(\rho)= \binom{n}{(n%2Bm)/2}
\rho^n
{}_2F_{1}\left(-\frac{n%2Bm}{2},-\frac{n-m}{2};-n;\rho^{-2}\right)
= (-1)^{(n%2Bm)/2}\binom{(n%2Bm)/2}{(n-m)/2}\rho^m
{}_2F_{1}\left(1%2Bn,1-\frac{n-m}{2};1%2B\frac{n%2Bm}{2};\rho^2\right)

for nm even.

Applications often involve linear algebra, where integrals over products of Zernike polynomials and some other factor build the matrix elements. To enumerate the rows and columns of these matrices by a single index, a conventional mapping of the two indices n and m to a single index j has been introduced by Noll. The table of this association Z_n^m \rightarrow Z_j starts as follows (sequence A176988 in OEIS)

n,m 0,0 1,1 1,-1 2,0 2,-2 2,2 3,-1 3,1 3,-3 3,3
j 1 2 3 4 5 6 7 8 9 10
n,m 4,0 4,2 4,-2 4,4 4,-4 5,1 5,-1 5,3 5,-3 5,5
j 11 12 13 14 15 16 17 18 19 20

The rule is that the even Z (with azimuthal part \cos(m\varphi)) obtain even indices j, the odd Z odd indices j. Within a given n, lower values of m obtain lower j.

Formulas

Orthogonality

The orthogonality in the radial part reads

\int_0^1 \rho \sqrt{2n%2B2}R_n^m(\rho)\,\sqrt{2n'%2B2}R_{n'}^{m}(\rho)d\rho = \delta_{n,n'}.

Orthogonality in the angular part is represented by

\int_0^{2\pi} \cos(m\varphi)\cos(m'\varphi)d\varphi=\epsilon_m\pi\delta_{|m|,|m'|},
\int_0^{2\pi} \sin(m\varphi)\sin(m'\varphi)d\varphi=(-1)^{m%2Bm'}\pi\delta_{|m|,|m'|};\quad m\neq 0,
\int_0^{2\pi} \cos(m\varphi)\sin(m'\varphi)d\varphi=0,

where \epsilon_m (sometimes called the Neumann factor because it frequently appears in conjunction with Bessel functions) is defined as 2 if m=0 and 1 if m\neq 0. The product of the angular and radial parts establishes the orthogonality of the Zernike functions with respect to both indices if integrated over the unit disk,

\int Z_n^m(\rho,\varphi)Z_{n'}^{m'}(\rho,\varphi)d^2r
=\frac{\epsilon_m\pi}{2n%2B2}\delta_{n,n'}\delta_{m,m'},

where d^2r=r\,dr\,d\varphi is the Jacobian of the circular coordinate system, and where n-m and n'-m' are both even.

A special value is

R_n^m(1)=1.

Symmetries

The parity with respect to reflection along the x axis is

Z_n^{\pm m}(\rho,\varphi)=\pm Z_n^{\pm m}(\rho,-\varphi).

The parity with respect to point reflection at the center of coordinates is

Z_n^m(\rho,\varphi) = (-1)^m Z_n^m(\rho,\varphi%2B\pi),

where (-1)^m could as well be written (-1)^n because n-m is even for the relevant, non-vanishing values. The radial polynomials are also either even or odd:

R_n^m(\rho)=(-1)^m R_n^m(-\rho).

The periodicity of the trigonometric functions implies invariance if rotated by multiples of 2\pi/m radian around the center:

Z_n^m(\rho,\varphi%2B2\pi k/m)=Z_n^m(\rho,\varphi),\quad k= 0, \pm 1,\pm 2,\ldots.

Examples

The first few Radial polynomials are:

 R^0_0(\rho) = 1 \,
 R^1_1(\rho) = \rho \,
 R^0_2(\rho) = 2\rho^2 - 1 \,
 R^2_2(\rho) = \rho^2 \,
 R^1_3(\rho) = 3\rho^3 - 2\rho \,
 R^3_3(\rho) = \rho^3 \,
 R^0_4(\rho) = 6\rho^4 - 6\rho^2 %2B 1 \,
 R^2_4(\rho) = 4\rho^4 - 3\rho^2 \,
 R^4_4(\rho) = \rho^4 \,
 R^1_5(\rho) = 10\rho^5 - 12\rho^3 %2B 3\rho \,
 R^3_5(\rho) = 5\rho^5 - 4\rho^3 \,
 R^5_5(\rho) = \rho^5 \,
 R^0_6(\rho) = 20\rho^6 - 30\rho^4 %2B 12\rho^2 - 1 \,
 R^2_6(\rho) = 15\rho^6 - 20\rho^4 %2B 6\rho^2 \,
 R^4_6(\rho) = 6\rho^6 - 5\rho^4 \,
 R^6_6(\rho) = \rho^6. \,

Applications

The functions are a basis defined over the circular support area, typically the pupil planes in classical optical imaging at optical and infrared wavelengths through systems of lenses and mirrors of finite diameter. Their advantage are the simple analytical properties inherited from the simplicity of the radial functions and the factorization in radial and azimuthal functions; this leads for example to closed form expressions of the two-dimensional Fourier transform in terms of Bessel Functions. Their disadvantage, in particular if high n are involved, is the unequal distribution of nodal lines over the unit disk, which introduces ringing effects near the perimeter \rho\approx 1, which often leads attempts to define other orthogonal functions over the circular disk.

In precision optical manufacturing, Zernike polynomials are used to characterize higher-order errors observed in interferometric analyses, in order to achieve desired system performance.

In optometry and ophthalmology the Zernike polynomials are used to describe aberrations of the cornea or lens from an ideal spherical shape, which result in refraction errors.

They are commonly used in adaptive optics where they can be used to effectively cancel out atmospheric distortion. Obvious applications for this are IR or visual astronomy, and Satellite imagery. For example, one of the zernike terms (for m = 0, n = 2) is called 'de-focus'. By coupling the output from this term to a control system, an automatic focus can be implemented.

Another application of the Zernike polynomials is found in the Extended Nijboer-Zernike (ENZ) theory of diffraction and aberrations.

Zernike polynomials are widely used as basis functions of image moments.

Higher Dimensions

The concept translates to higher dimensions D if multinomials x_1^ix_2^j\cdots x_D^k in Cartesian coordinates are converted to hyperspherical coordinates, \rho^s, s\le D, multiplied by a product of Jacobi Polynomials of the angular variables. In D=3 dimensions, the angular variables are Spherical harmonics, for example. Linear combinations of the powers \rho^s define an orthogonal basis R_n^{(l)}(\rho) satisfying

\int_0^1 \rho^{D-1}R_n^{(l)}(\rho)R_{n'}^{(l)}(\rho)d\rho = \delta_{n,n'}.

(Note that a factor \sqrt{2n%2BD} is absorbed in the definition of R here, whereas in D=2 the normalization is chosen slightly differently. This is largely a matter of taste, depending on whether one wishes to maintain an integer set of coefficients or prefers tighter formulas if the orthogonalization is involved.) The explicit representation is

R_n^{(l)}(\rho) = \sqrt{2n%2BD}\sum_{s=0}^{(n-l)/2}
(-1)^s{(n-l)/2 \choose s}{n-s-1%2BD/2 \choose (n-l)/2}\rho^{n-2s}
=(-1)^{(n-l)/2}\sqrt{2n%2BD}\sum_{s=0}^{(n-l)/2}
(-1)^s{(n-l)/2 \choose s}
{s-1%2B(n%2Bl%2BD)/2 \choose (n-l)/2} \rho^{2s%2Bl}
=(-1)^{(n-l)/2}\sqrt{2n%2BD}{ (D%2Bn%2Bl)/2-1 \choose (n-l)/2}\rho^l
{}_2F_1( -(n-l)/2,(n%2Bl%2BD)/2;l%2BD/2;\rho^2).

for even n-l\ge 0, else identical to zero.

See also

Notes

References

External links